package com.itic.mall.system.marketuser.persistence.dao;

import java.util.List;

import com.itic.appbase.framework.common.annotation.IticDBDao;
import com.itic.appbase.framework.common.persistence.dao.CrudDao;
import com.itic.mall.system.marketuser.persistence.basedao.MarketUserMapper;
import com.itic.mall.system.marketuser.persistence.model.MarketUser;
import com.itic.mall.system.marketuser.persistence.model.MarketUserExample;


@IticDBDao
public interface MarketUserDao
     extends MarketUserMapper,CrudDao<MarketUser,MarketUserExample> {

	MarketUser getByInvitingCode(String username);

	MarketUser getByUnionid(String unionId);
	List<String> getBindedTgwUserIds();
	Double getProfit(String id);

	MarketUser getUserByInvitingCode(String code);
}